﻿using Client.Enum;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Client.Model
{
    /// <summary>
    /// Author: Leil
    /// Description: ViewMenu
    /// CreateTime: 2020/5/28 23:18:07
    /// </summary>
    public class ViewMenu : BindableBase
    {
        public int ID { get; set; }

        public int ParentId { get; set; }

        public string ParentMenuName { get; set; }

        public string Icon { get; set; }

        public string ScreenCode { get; set; }

        //public string MenuName { get; set; }
        private string menuName;

        public string MenuName
        {
            get { return menuName; }
            set
            {
                menuName = value;
                RaisePropertyChanged("MenuName");
            }
        }


        public int MenuType { get; set; }

        //public DataStatus Status { get; set; } = DataStatus.有效;
        private DataStatus status = DataStatus.有效;

        public DataStatus Status
        {
            get { return status; }
            set
            {
                status = value;
                RaisePropertyChanged("Status");
            }
        }


        public int Sort { get; set; }

        public string Creator { get; set; }

        public string CreateTime { get; set; }

        public string Updator { get; set; }

        public string UpdateTime { get; set; }

    }
}
